using IQIGame.Onigao.Framework;

namespace IQIGame.Onigao.GamePlay
{
    public interface IProtocolRouter
    {
        /// <summary>
        /// 发送消息到game服
        /// </summary>
        /// <param name="gameId"></param>
        /// <param name="pod"></param>
        void SendToGame(string gameId, IPOD pod);
    }

    public class NullProtocolRouter : IProtocolRouter
    {
        public static NullProtocolRouter Inst { get; } = new NullProtocolRouter();

        public void SendToGame(string gameId, IPOD pod) {
        }
    }
}